<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    html,
    body {
      height: 100%;
      width: 100%;
    }

    span {
      color: red;
    }
  </style>
</head>

<body>
  <form action="../server/register.php" method="POST">
    <input type="text" placeholder="请输入昵称" name="nickname" required><br>
    <input type="text" placeholder="请输入用户名" name="username" id="user" required><span id="sp3"></span> <br>
    <input type="password" placeholder="输出密码" id="psw1" name="password1" required><span id="sp1"></span><br>
    <input type="password" placeholder="重复密码" id="psw2" name="password2" required><span id="sp2"></span><br>
    <input type="file" placeholder="请上传头像" name="faces" required value="点击选择头像"><br>
    <button id="btn">register</button>
  </form>
  <button id="btn2">login</button>

  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  <script src="../js/debounce.js"></script>
  <script src="../js/cookies.js"></script>
  <script src="../js/random.js"></script>
  <script src="../js/animation.js"></script>
  <script src="../js/remin-wary.js"></script>
  <script src="../js/data.js"></script>
  <script src="../js/mathtool.js"></script>
  <script src="../js/login-register.js"></script>
  <script>
    regiseterSingle()
    new BarrageBox($(`body`)[0], RWtext(), 170)
  </script>
</body>

</html>